package cn.heyige.backend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 占卜反馈实体
 */
@Data
@TableName("divination_feedback")
public class DivinationFeedbackDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("divination_type")
    private String divinationType;

    @TableField("original_hexagram")
    private String originalHexagram;

    @TableField("changed_hexagram")
    private String changedHexagram;

    @TableField("is_accurate")
    private Boolean isAccurate;

    @TableField("feedback_comment")
    private String feedbackComment;

    @TableField("user_city")
    private String userCity;

    @TableField("user_mood")
    private String userMood;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}